package com.ml.mall.entity.variant;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
* <p>
    * 
    * </p>
*
* @author kyyang
* Created 2021-06-18
*/
    @Data
    @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    @TableName("sys_product_variant_descrip")
    @ApiModel(value="SysProductVariantDescrip对象", description="")
    public class SysProductVariantDescrip implements Serializable {


    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
    * 描述
    */
    @ApiModelProperty(value = "描述")
    @TableField("descrip")
    private String descrip;

    /**
    * 变体ID
    */
    @ApiModelProperty(value = "变体ID")
    @TableField("variant_id")
    private Long variantId;

    /**
     * 排序Index
     */
    @ApiModelProperty(value = "排序Index")
    @TableField("`index`")
    private Integer index;
}
